Made show and hide dynamic, added group onLoad