Add CSS transition on buttons