Fixed ItemList a bit.

Added scrolling correction when calculating size. Also fixed some issues when dealing with list shorter than the window.