check coords in div