fixed navigation for media and gallery pages