fix position of elements in paginator