move `bounds` state into directive