patch for no. of slider images