Fix seekTrack on firefox

event objects on firefox does not have offsetX property so i added a function to calculate it if it's undefined