better support when viewer is nested in DIV; disabled scroll when using nested viewer