Factored out scrollview matrix