Fixed a bug which called the delegate method `slidingPanelController:hasClosedSide:` when a panel begin to be open.