fixed ui for subcategories. UPDATED TO BOOSTRAP 3.1.0
using bootstrap for pagination;