fixed a number of bugs, removed support for left and right css properties