Refactoring mobile styles