Make table behave better on mobile devices