Prevents listView/gridView items from being hidden.

Automatically adjusts the listView/gridView height by adding extra items
at the top, so that the actual elements are not hidden behind the target
view. Fixes #5