Adding ability to place gallery in right rail