What is the code for button to slide the left or right view?

May 1, 2015 at 6:04 AM
I want the code for those hamburger menu buttons which when pressed slide the left or right view.