Reduce work done in main thread to mitigate choppy fragment transition