prototype for tablet support. enable by setting is_tablet_enabled to true in constants.