add doFloat for gloobus preview