Hid back button when not necessary