fixed some IE issues

jquery .css doesn't seem to get the correct values in IE, to work around this it checks for currentStyle and if it exists it uses that instead of the jquery function. Not sure why jquery doesn't return the correct values.