Changed page content opactiy when navbar button is pressed