support smallwindow plugin - issue #295