Fix viewer on small devices