I have an app like Facebook. I want to push and pop in swreveal view controller. How can achieve this? Check following image.

[![enter image description here](https://i.stack.imgur.com/RM4ef.jpg)](https://i.stack.imgur.com/RM4ef.jpg)

Any help will be appreciated.