set coords before work
fix infinity scrolling