Refactoring of contents width and scroll offset.
Created attachment 23835 [details] Patch
Fixed in r36925.