Alternative block based method when there are no view controllers to pop to in the navigation stack (for displaying hamburger menu)