adjusting positions of categories