Fixed categorylist not resizing properly.

Whenever scrollbars appear/disappear.