cleaned up a bit in CategoryView