added search function, replaced the default timeline with search