Added sidebar to the job details page
Added function comments