Refactor timeline control into its own object.