made block speed screen resolution independent