Better preview placement with a div