adjusting positions of texts