3.3.0
This fixes #19. When the window is resized, if the sidebar is in the closed state, we trigger the sidebar:close event, so the sidebar will be closed.
In previous versions, if the sidebar was having percentage sizes (height or/and width) it would appear on the window margin when the window would get resized.
Also, we now store the settings object reference in the sidebar
data (jQuery).