Changed indentation
scrollTop/scrollLeft queried only if scrollbar is enabled
Moved touch preventParentScroll to touchstart ev