Collection repat


I am using collection repeat to display a list .
I am unable to scroll last item as it is not properly formed in HTML
When I scroll to beginning of the page and scroll down again to the end, then
it works fine

Besides this I have no internet connection message which is to be displayed
at the bottom . But it is not getting done. Actually it is always getting
displayed on the top irrespective of any CSS applied