fixed bug with firefox NotSupportedError. Menu stops floating when bigger then window