updated for fadein and out carousel