Code cleanup
Close slide panel if popState() has nothing to pop