limit scrolling to defined axis

While the dragged item itself was lmited to the defined axis, scrolling wasn't. This should fix the issue.