Fix bug wherein nav panel couldn't be fully collapsed.

Fix some whitespace.