fix some browser issues
improvements and fixes animate