Fixed frame creation and added accordion animation for toolbar.