Fixed image prev/next bug in windows server