Here’s an open source component that provides a similar dynamic bending and bouncing effect and automatically applies the effect when a view is hidden/shown called MGFashionMenuView.
MGFashionMenuView allows you to easily add the bouncing effect when showing/hiding a view, simply initialize MGFashionMenuView with your view, and use the provided show/hide methods.
Here is an animation from the readme showing MGFashionView in action:
You can find MGFashionMenuView on Github here.
A nice easy way to add a great effect when showing and hiding views.