change markup to place class="gallery" property inside ul