adjusted screen resizing issues in CSS