fixed notebooks index-view to avoid nil, implemented show-view for notebooks