Added check for body class dynamic footer for dynamic footer situations