Add random position function and change the borders of position viwer