add constraints to pagination layout