Hide pagination container, if not used.

Hey!
If my memory serves, before version 5.0.1 pagination container wasn't shown when there was no pagination. But now it is displayed anyway, creating additional padding at the bottom when pagination is disabled. How about hiding the pagination container when it is empty?

jsfiddle:
before: http://jsfiddle.net/mooncat/3myrmarf/embedded/result/
after: http://jsfiddle.net/mooncat/xnkk3445/embedded/result/