Only show shadow on sliding pane when slidable.