fixing slideRight Bug