Buffer switching with F5