adding animations on buttons