graph div styled properly and background image changed