make resizing algorithm smarter
fix body so that markers scale properly