refactoring mobile views