Shake Screen depending on variable