restoring rotatable.js; fixing links