#202 fixing issue when initialising with empty bounds + two way binding

The code was breaking when initialising bounds with an empty object. Also, the two way binding was not happening.