Bug 1022755 - do not scroll if we're not in the right panel r=azasypkin

yep, I actually thought of it later in the evening :)