fixing pointer slide