A simple slide tap-through engine in JavaScript