changes to timeline display using php