responsive behavior for edit buttons