adjust popup y axis