Added infinite scrolling and fixed weekday function