add better IE7 support (same changes as in https://github.com/romansklenar/active_admin/commit/d357e4ed0605535e2614284f929dfa59ecb4bd0d)