show and hide of a tool layout