Modify JS to set both scroll and position properties based on touchscreen or not.