File list resize tweaks

Now using debounce for the resize event.

Reduced action bar width calculation padding.
Keep layout when hiding upload progress bar

Using fadeOut() would hide the progress bar after the animation, which
would require a reflow/resize of the controls bar.

To make it simpler, we simply keep the layout by letting the space of
the progress bar still stay occupied after upload (note: it is already
occupied initially)