Adds check to mobile nav toggle if window is resized to desktop