Contextual mobile adaptation