show image edit buttons on small menu; refactoring