Added front and back button and loop/autoplay options