added Dock transition and fixed context menu position