converting header into sidebar