insert or remove from the front of the list