added Jquery, optimization and fixes.

the side bar is almost compleat.