completed layout with drop down menu for device type