Tidy up carousel indicator code.