mediawiki.special.watchlist: Fix render stampede after "Mark all pages visited"
Follow-up
9ea1142fad,
f4d70ceedc,
73592aea1c.
The progress bar has a continuous animation that is rather CPU heavy.
While it is set to 'visibility hidden', this is merely a way to make the
contents of the element transparent. It is still interactable (e.g. if it
has hover or click handlers, they would trigger if hovering in that area)
and still rendered with full 60fps paint and layout.
Instead, detach and (re-)append the element as needed. Since the element
has an absolute position, it doesn't cause a content reflow when the element
is detached. This fact is already made use of considering the element is
inserted only after the submit button is clicked - without content reflow.
Change-Id: I06ef0d527044e5a6080febdb618eaffeb6ec85fa