refactoring homepage, tweaks for media queries phone portrait and landscapie