Determine visibility of cursor & calculate scroll target