Improve top edge styles for resizing screen