Move closing .navmenu div outside of if statement