moved view function for tag clouds into view library