Implementing responsive design changes for HW4