Added support to shortcode for additional size attribute and sanitization of classnames