changed the layout for desktop view to match that of mobile view