Added horizontal timeline functionality and fixed a memory leak that occurred when a zero was used as the ID