refactored main.js slightly and added preload for filmstrip images