Buttons reordering for small and large displays