added optional title hoverstate to gallery shortcode