fix orientation change, fix note scrolling, fix a bug