Adding code to move slides with mouse click