Refactor main page mobile