adjust preview position