Implementing itemOnCursor control