Dynamically positioning labels

Fixes [MLHR-1399](https://malhar.atlassian.net/browse/MLHR-1399)

![image](https://cloud.githubusercontent.com/assets/1390651/4194374/ea251a16-37ac-11e4-8fb6-26abd1ab46ee.png)