adding a frame 'lock' in the form of 'being idle
' so that frames update accordingly (the player doesn't appear to be walking if it is standing still)