Shifting abs pos elements to flexbox