Ajax links with resizing