added the ability to vary the buffer on the frame
updated flappy to be infinit