add pagination and also css effects