target position check fix

/(absolute|fixed)/.test() was always 'false'. changed to /(absolute|fixed)/.test(position)
taget position fix
Merge pull request #30 from sammik/posfix

target position check fix