Dynamic Item pages

working for first pagination