pagination switch home modified