refactored mobile responsiveness