add [first,last]-visible classes (useful with hideCurrent option)
fixed