Refactor models and views. ========================== Try to find the behavior that is common to mobile and desktop versions.