change style for gallery widget