hides subnav while sidebar is open