remove old sidebar directive