Mobile fixes, a gallery mode I did for another site, other bugfixes