Merge "Only postpone animations if app is visible" into jb-mr2-dev