Fix timing on slide transition