target position check fix

/(absolute|fixed)/.test() was always 'false'. changed to /(absolute|fixed)/.test(position)