adds currentPanel class to the current panel