fix thumbnail alignment