adding endless scrolling and gif