Finalize positioning of elements with media queries