Update layout after calculating value for drag.

Prior to this change, the tooltip would show the value of the previous position on drag start or on drag.
Merge pull request #2 from gauthierm/fix-drag-values

Update layout after calculating value for drag.