Appliying accordion to pattern form