improvised div binding