display position size correctly