fixed menu javascript problem