Re-hatting and sidebar stuff