modified version of content carousel js library