Java Dock with a better bouncing effect