refactoring carousel, make it responsive