fixed issue with nav when screen is resized from mobile to desktop