clean up bootstrap components and migrate fancy gallery component to template set.