fixes choppy mobile menu opening