fixed issue with triggering offcanvas by touchswipe