fix pagination markup
box macro: use bootstrap 3 panel structure