adjust for y pos for window height