fix getPosition, add coords to directory view