removed dependence on div for pagination (avk)