Added UI elements for traversing patterns in the pattern editor