rearrange player elements on resize