Sometimes setDimensions does not get called before the first scroll
Do not scroll if content size < client size (should be an option surely)