fixing scroll issue for notebooks with a lot of notes