Safari compatibility

Fix Safari compatibility with the inspector. Also fix scrolling for both Safari and Chrome in the inspector child panes.