changing how to get bounding rect for IE8, setting height and width correctly this time