fix pagination accordion and dropdown