Make gallery fully responsive.

[Resolves #58]