update Direction Dots
Updates the navigation dots to indicate the current page in the carousel.
Parameters
position
The current page index.
Updates the navigation dots to indicate the current page in the carousel.
The current page index.