modify button layout and image layout