manage visibility of backbtn and profilebtn