hide choose group dropdown if there's only 1 group; pagination