Fixed styling of listingblock gallery view

@maethu fixes #171