The scroll_to shortcode displays a link that allows scrolling to a location in a page with animation. The top shortcode works the same way, the only difference is the link text is 'Top' by default.
|The identifier of the HTML element to scroll to. The default is 'top' that means scroll to the top of the page.
|Specifies whether scrolling animation is required or not (true | false). Default is true.
|The duration of the scrolling animation, in milliseconds
Specifies the easing function for the scrolling animation.
Easing functions (timing functions) specify how the intermediate values are calculated during the animation. It allows for a transition to change speed over its duration.
|Specifies whether the scroll animation should stop when the mouse wheel rolls (true | false). Default is true.
|Specifies the vertical distance between the top of the element identified by the to attribute (see above) and the location where the scrolling ends, in pixels. Default is 0.