index.php: Tweaked small screen styles

Tweaked small screen styles for the CSS3 Transition, so that expanded
image fits onto iPhone Screen. Also, reduced starting thumbnail size.