make graph responsive