added compact display option