bug fixes to new & css for fixed calculating width