create widget that displays categories