change multi viewpage to single viewpage