implemented sprite and sequence advancement by keypress

todo: encapsulate in function