Basically simplified the code and made a carousel