updates timeline main-config to better handle sorting and expand/collapse, remove extra toggle links and simply switches state