add border transition