With a properly designed sub, your cabinet should not vibrate. You should be just fine putting bookselves on top of subs.
The advantage of having the sub separate from your mains is that it gives you more flexibility in placement. The best place for your mains is not always the same as for your sub.