cleanup: Rearrange some lines of code
front: Allow user to override phone/tablet touchscreen layout.