respect view mode on ajax call and hide filter if view has no results