Bug 842091: Prevent flickering when transitioning to cards view. r=alive,timdream