changing div dimensions to percentages instead of pixesl for responsiveness