refactoring mobile css