simplifying image view by separating buttons in a mixin