limit start and end of timeline