image carousel class for square in addition to landscape and portrait