easier implementation of button animations