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

Hmmm, looks fine for me! Also even that we'due re testing some sort of internal stuff here, I think it worth testing as it may affect performance.