Fixing proper JS style
Fixing image placement math

This works off image centers whcih might be a better visual way to group
the images along the timeline.