Make "back" button responsive