add scroll functionality to timeline