Added primitive event listeners to track slideIndex state. Work in progress