Changed how cursor scanlines works.

It's more easy to control from software and more easy to implement.