conditionally add sticky menu in js based on device width