made navbar show selected page