Eliminate sliding funtion