cursor should move on shift-home and shift-end
reset cursor alpha when it moves