Allowing pop to pop to a previous view