1) Switched to using jQuery for event handling
2) Updated to latest cornerstone
3) Fixed bug where rapid scrolling would cause the wrong image to be displayed