check that swapinterval available