Modifications again for the dock resizing,. For some reason Maya is incapable of passing the dockControl size back when the UI is undocked and re-sized, hence the scroll resize is doing nothing. Going to investigate this as it's pissing me off!