move slide atts generation back into main shortcode function