Working on bugs with ng-style and style not in sync and moving elements in DOM