improve WordPress gallery responsiveness