Add header menu spacing for markdown cells

fixes #449
Handle input menu when collapsed
Merge pull request #476 from twosigma/sjs/449

Add header menu spacing for markdown cells