styling fixes for gallery
do not allow empty gallery image/video