modified sync animation for mac

为mac版改变了layout和animation