Always close pageslide before opening

This way, the user gets visual feedback that something happened, even if the content loaded is the same.

As a consequence, the close function always runs the callback, even if its already closed or closing.