implemented the ajax api's

implemented the AJAX api's via indirect PHP request.
implemented the mousewheel interface for the latest tab
changes to the sidebar show and unshow