Touch scrolling and sliding with momentum for Phonegap applications