gallery height fix for video if mode is set to ROW