make sure the login popup in the middle of the page