fix for gallery height