improving the layout on pattern/show
moving delete pattern | edit pattern on pattern/show