add limit and skip to the mongoquery