updated javascript effects

navigation buttons, left and right now move instead of fading in and
out.
Added styling to code boxes using template for js prettify