marking display as none for back button