Working client side gallery