move notebook scrollbars to inside

fixes #365
also fixes #330 autoscroll for sorting