fix pagination layout buildings / rooms