Added compability for IE and for all kinds of device-width