fixed resizing problem for login page