Adding classes to make graph buttons side by side on small devices