Eliminating white space at the end of the timeline