Fixed initial folder on document view, started to refactor the
documentlist to use jquery events