add hook for hiding navigational elements