updated carousel to allow you to interact with it after it is instantiated, also added resize functionality