Commented out scroll to div call which was causing QGIS to crash/.