A sunshade assembly for a vehicle roof has a window shade that is movable along guide rails toward the front and rear of the vehicle. Drive elements are connected to a front edge of the window shade, and rotatable tension wheels are mounted to the guide rail and coupled with the drive elements to pull taut a front portion of the window shade disposed between the front edge and the tension wheels.