scroll into view if needed after overlay resize
overlay resize: interval should be greater than animation duration
Merge pull request #870 from xi/feature-overlay-scrollintoview

scroll into view if needed after overlay resize