Snap working with passing it fixed numbers

Numbers must include width and height.
Moved snapping to numbers to own demo page
Fixed prev() and next().