 player.$.center.getBoundingClientRect().left;
        var r = (x / player.$.center.getBoundingClientRect().width) * player.$.audio.duration;

        this._updatePlayPosition(r);
      },

      //
      // Helper function
      // updates the current time based on a time variable

      _updatePlayPosition: function(newTime) {
        var player = this;
        player.currentTime = player.$.audio.currentTime = newTime;

        var percentagePlayed = player.currentTime / player.$.audio.duration;
        p