remember last viewed note, fix #17