Bug 1015841 - [Messages][Refresh] Recipients panel visible area handling. r=julien

JS-based solution
I think we should try to prevent this from happening in unit test. Probably making sure that we use fake timers so that the function is not started if we don't tick is enough?