Little hack to deal with scrolling before animations