add panel size slider