add animate effect to float window