fixed redirect loop bug
add infinite scroll plugin