My own implementation of a carousel