removed the now useless js code to set the position of next and previous...

... page, and removed jquery.ui.position as it was its only use.

Couldn't find a way to reopen a pull request, so here is a new one..