fixed carousel displaying proper number of slides