added preventDefault for prevent scrolling page on mobile devices