dimensions for scrollpanes determined