got a first pass working for the note count, now need to make it so the previous and next buttons are inactive when you cannot go back or forwards