change the managementation of SWRevealViewController to local