working navigation with homebutton