fixed gallery with changes from last commit. this probably could also be done with rebase instead of a standalone commit.