fixed page switching while not playing