Limit graph height on mobile.