add thumbnail component into carousel component and add custom classes