title: layout collapsible doesnt work - primefaces
body: <p>i m working on a project. project main page has a layout with 2 layoutunits and each layoutunit have forms. when i run project page is loading correctly but one of layoutunit collapsible property does not work. when i click on it layoutunit is closing then opening again.</p>
  
  <p>i m using primefaces 5.3 and i m not a elit user.</p>
  
  <p></p>
  
  <pre><code>&lt;p:layout fullPage="true" widgetVar="layoutWdgt"&gt;
  
      &lt;p:layoutUnit  style=" font-size: 14px!important" position="west"   collapsible="true"  header="#{kullanici.adsoyadkullanici}" &gt;
  
          &lt;h:form id="anamenu"&gt;
              &lt;p:panelMenu style="width: 250px; height: 600px!important"&gt;
  
                  &lt;p:submenu  label="Genel" icon="fa fa-cog"&gt;
                      &lt;p:menuitem value="Ana Gösterge Tablosu 1" actionListener="#{turnPage.changePage(101)}" update="mainform:panel1" /&gt;
                      &lt;p:menuitem value="Ana Gösterge Tablosu 2" actionListener="#{turnPage.changePage(102)}" update="mainform:panel1" /&gt;   
                  &lt;/p:submenu&gt;                        
  
                  &lt;p:submenu   label="Demografik Göstergeler" icon="fa fa-area-chart"&gt;
  
                      &lt;p:menuitem value="Nüfus Piramidi" actionListener="#{turnPage.changePage(201)}" update="mainform:panel1" /&gt;
                      &lt;p:menuitem value="Genel Demografik Göstergeler" actionListener="#{turnPage.changePage(202)}" update="mainform:panel1"/&gt;
                      &lt;p:menuitem value="Kırsal ve Kentsel Nüfus" actionListener="#{turnPage.changePage(203)}" update="mainform:panel1"/&gt;
                      &lt;p:menuitem value="0-14 Yaş Nüfus Oranları" actionListener="#{turnPage.changePage(204)}" update="mainform:panel1"/&gt;
                      &lt;p:menuitem value="65 Yaş Üstü Nüfus Oranları" actionListener="#{turnPage.changePage(205)}" update="mainform:panel1" /&gt;
                      &lt;p:menuitem value="Toplam Yaş Bağımlılık Oranları" actionListener="#{turnPage.changePage(206)}" update="mainform:panel1" /&gt;
  
                  &lt;/p:submenu&gt;
                  &lt;/p:panelMenu&gt;
          &lt;/h:form&gt;
                  &lt;/p:layoutUnit&gt;
  
              &lt;p:layoutUnit id="layoutcenter" style="font-size: 14px"  position="center" collapsible="true"  &gt;
  
                      &lt;h:form id="mainform"&gt;
  
                          &lt;p:outputPanel id="panel1"&gt;
                              &lt;ui:include src="#{turnPage.pathpage}" /&gt;
                          &lt;/p:outputPanel&gt;
  
                      &lt;/h:form&gt; 
                  &lt;/p:layoutUnit&gt;
  &lt;/p:layout&gt;
  &lt;/h:body&gt;
  </code></pre>