Swapped WP gallery shortcode function for our own