fix sliding menu gesture