Lock cursor into the browser
Refactor into Cursor object