update styles for ending slide