reimplemented the main carousel