hide/show right nav bar button when showing/hiding grid + remove commented code