first step to simplify notification rendering
move notification_{head,foot} into _notifications