Revert "Revert "Added functionality to follow mouse""

This reverts commit ddd9e788c425792b16d0966b5c2e2739b0f34a01.