fix scrolling main gallery on touch