Switched $.css to $.show and $.hide in Layout.