Added event listener to carousel

TODO: Get back button working