can drag and auto expand or collapse panel.