Implemented ajax. Started working on the resizing.