function drawer 
grid horizontal / vertical