better positioning preview box