Evidence for ice flow prior to trough formation in the martian north polar layered deposits