test if li element is defined before calling pos_phone or pos_default functions to avoid undefined error when resizing the window.
Merge pull request #87 from cm0s/master

Avoid Uncaught TypeError: Cannot call method 'offset' of undefined error when using autoStart: false