add cursor to view