implementation panel_view with animation