Update requestAnimation frame declartion to be in util. Updatre responsive imgs to swap on window resizing.