Revert "fiddling with gallery page"

This reverts commit 3d4348a2e0fa4321e6a1679fe48f7503321341cd.
Revert "Revert "fiddling with gallery page""

This reverts commit 2ffd2de73793137fc7167e347d2dff343f5a3691.
Revert 47adb61..164cc1f

This rolls back to commit 47adb61380644f133a12b6bf2b1f9f6230639602.