re-arrange media qs