add class to hide nav