add animate of dock and fix bugs
fix dock border bugs