After struggling, I have found the actual problem and its solution.
Actual Problem:
- I am using external fonts, other than those which are included in the WP by default.
- The external fonts need some time to get loaded into the memory and then the text is displayed.
- In the mean time the list is loaded already, while the font is being loaded.
- Finally the text is displayed, and (could be because of expansion), the selected index location is moved down.
- Without closing the app, the font seems to stay in the memory, and the next time it doesn't take long time, and the pointer id displayed correctly.
My Solution:
- I loaded the (external) fonts while the main page is being loaded. It takes negligible amount of time and hence, doesn't affect the efficiency of the app (in terms of loading time)
I wish if any architect can explain in better way that what has been happening, or in other words, I am interested to know the technical background of the "actual problem".
Thanks very much to all those who gave suggestions.