fixed issue #23 so back button returns to proper view
replacing some of boyd's code that my last merge accidentally overwrote...