adding button transition