Add swap interval control