Minor lightbox style weak.
Fixed an issue where lightbox images would deform during the animation.
Simplified the aspectFit calculations a bit.
Made the animation duration a constant instead of a magic number.
Fixed issue with vertical placement of lightbox images.
Fixed an issue where the incoming and outgoing slides would appear to be moving at different speeds.
Move lightbox animation code into a class.
File rename.
Only buffer a few lightbox images at a time instead of the whole gallery.  Improves mobile performance.