Load the messages in message table dynamically as user scrolls

Count of messages and the offsets are not completely correct and
need a better syncing with server.

Change-Id: Ic226dc443423984d5a887fbbbef923fa608661f3
Merge "Load the messages in message table dynamically as user scrolls"