Changing sensor buttons to show horizontally