button move with scroll code example
Example: Move button when scrolling
<input type="button" onClick="document.getElementById('scroll').scrollIntoView();" />
<input type="button" onClick="document.getElementById('scroll').scrollIntoView();" />