refactor homepage responsive design