Create expandPanel.js