dont include last block when the cursor is right on the first position