Compass emulation and repositioning in iframe with phone dimensions complete