added conditional behaviour of message 'no records to display'. on first load no message appears, while paging the previous message stays till new content is loaded
removed unnecessary variable for initialLoad implementation