Fix chart displaying on small devices