Refactored rescale edge class.
Fixed popover not updating issue.
Fixed indent
Added Animation.
Refactored some code.
Merge pull request #105 from gzhangT/uiAnimationFix

Ui animation fix