add parameter to slidepanel in order to hide from element after transition end