Slide to show sidemenu for any viewcontroller wich is displaying

Refactor the feature of sliding to show sidemenu.