Fixes carousel last "page" advancement issue

In some situations the carousel wouldn't advance on the last page unless clicked twice. This seems to fix it.