pop up positioning sorted