Prevent trying to set the 'maxHeight' property of the secondaryToolbar before the viewer is completely loaded
Merge pull request #3692 from Snuffleupagus/issue-3690

Prevent trying to set the 'maxHeight' property of the secondaryToolbar before the viewer is completely loaded