Unanswered: container scroll problem

Unanswered: container scroll problem

Hi,

I have problem with container horizontal scrolling. After I release the mouse (finger) the scroll comes back to its original position. I saw some posts with similar problem, but answers don't seem to be related.
May container has this scroll definition:

I had this issue on some dataviews that i was attempting to use some custom CSS with. What I had to do was strip the custom CSS down to the bare minimum until the scrolling worked and then start adding pieces back in. The framework puts in some CSS itself to make scrolling work and some items in my CSS were conflicting.

My problem was that all items inside the container had absolute position, so the container didn't know to calculate its width/height and show scroll. So the solution is to place empty not visible element in static position and change it's dimensions on each add/remove item according to sum of all items width/height and padding between them. In this case container will show scroll according to empty item dimensions.

when I insert element with static position it solve the problem of scrolling, but all the element of the container are adjusted according to new height(Because I had given top by % param)... What I do. Should I use "Layout" property of container. If yes then HOW???