adding transition on homework carousel