Move stuff from timelines controller to timeline container directive