slight modify for new jquery pips location