debugged and improved the jquery for the details hover