fix preview panel alignment