Updated setFrontViewController to only toggle menu if menu is open