Gallery page moved to client side