add screenSize for timeline