made graph width responsive