Started working on the notebook widget

Started working on the notebook widget and associated scrollbars.