fixed jquery for expansion of patient box