Use 'this' directly, since it's already a jQuery instance.
Cache the result of offset(), since it's an expensive calculation.
Create the  once and re-use it, instead of re-creating it every time.