get back buttons to work as expected