Do not show footer if there is no data for showing 

Fix for #43 issue