Scroll below slider when the last slide is shown

The following code snippet can be used to scroll below the slider automatically when the last slide is shown.
Adjust the number "1" in the the "revapi1" part of the code for whatever your slider's ID is.