Make it AMD compatible

Make perfect scrollbar work with AMD