make div graph play nice with its bounds