[feat] history btns works and the data is taken from the url