function to ensure visibility of child item inside a scrollable

current implementation is experimental, with 2 restrictions:
* may scroll item off screen
* does not check if item fits or not (e.g. larger than screen)

Change-Id: I677d0f5c22b0e60a5cb9ca6893311daf13729d14
1 file changed