adding some fallbacks for ie 7