moved notes
added function to keep caret in view at all times