Fix category CSS

Before, when the category is closed by default, the active CSS class wasn't applied. Thus breaking the shortcuts for navigation.
Now it works the way it is supposed.
Merge pull request #593 from aledeg/fix-cat-css

Fix category CSS