make sure toolbar has border in notebook

fixes #1314