this fixes the active class not being set on load

on the index carousel