Makes margin around images smaller and puts 3 on each row.
Checks where pageX is located and cleans the touch functions a bit
Makes sure rotatiosn ans scales are always applied when rotating and zooming
Fixes autoloading off new pics when scrolling and fixes exit app on phonegap
Adds back button on fullscreen image for ff
Removes logging