Added placeholder parameter to constructor

The placeholder will be detached from its parent and used as the content
of the sidebar.