Home sales flattened out in March and April as low inventory levels in the first quarter of the year limited available options for buyers.