add slide button and invite bug fix