Limits the current position of the element to the borders of the screen.
Limits the current position of the element to the borders of the screen.
1 number padding
the offset away from the borders of the screen to apply in case the element does not fit within the screen size.