Fixes nav animation issue on desktop sizes