fix trigger box height issue and resize on mobile