lots of css and javascript tweaking on photo gallery