Fixed the gallery to work with 3 pictures.

Also centered paragraph text on main page