remove dependence on jQuery UI

removed dependence on jQueryUI position library in favor of homebrew of
needed features.