minor change to offsetLeft value on condition of if availLeft exists, apparently opera and ie browsers don't support window.screen.availLeft object