Now creating a single instance of a slider on each template. TODO: Figure out why animations are not working.