layout showhide buttons working