positioning in the middle of square