added window.size query in JS to prevent animation on small screens, and changed menu button .on click to .on mousedown for better performance.