update paginator position and layout