res:dock:: fix drag problem.

1. using flex to handle the item width problem.
2. in order to place tray icons, set margin-left to corresponding width.
3. set the margin-left to with of dragged item.

Change-Id: I37959da222e2ceff0109ca6e4ab6a3a54d206fe6